<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:include href='../xsl.include.main.xsl'/>

<xsl:template match="abuse">

<xsl:comment>
0 - have just been created
1 - is public
2 - have been denyed authorization
3 - is waiting for authorization
</xsl:comment>

<table bgcolor="#EEEEEE" class="body_10px" border="0" cellspacing="0" cellpadding="3" width="100%">
<tr height="25px">
<td class="dotlin" colspan="10"><b>Messaggi segnalati ad abuse inviati da:
<nobr>
	<xsl:call-template name="user">
		<xsl:with-param name="status" select="@uStatus"/>
		<xsl:with-param name="sexid" select="@sexid"/>
		<xsl:with-param name="certified" select="@certified"/>
		<xsl:with-param name="userid" select="@userid"/>
		<xsl:with-param name="nick" select="@nick"/>
		<xsl:with-param name="bold" select="0"/>
		<xsl:with-param name="buddy" select="0"/>
		<xsl:with-param name="newbie" select="0"/>
	</xsl:call-template>
</nobr>
</b></td></tr>
<tr class="body">
<td align="center" class="body_10px">Elimina segnalazione</td>
<td><b>Nick del poveraccio</b></td>
<td><b>Testo del messaggio</b></td>
<td><b>Inviato il</b></td>
<td><b>letto il</b></td>
</tr>
<xsl:for-each select="pvt">
<tr>
<td align="center">
<xsl:choose>
<xsl:when test="floor( @status div 64 ) mod 2 or floor( @status div 8 ) mod 2">
</xsl:when>
<xsl:otherwise>
<a href="?userid={/abuse/@userid}&amp;abuseid={@abuseid}&amp;clean=1"><img border="0" src="/imgs/delete.gif"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td>
<nobr>
	<xsl:call-template name="user">
		<xsl:with-param name="status" select="@uStatus"/>
		<xsl:with-param name="sexid" select="@sexid"/>
		<xsl:with-param name="certified" select="@certified"/>
		<xsl:with-param name="userid" select="@userid"/>
		<xsl:with-param name="nick" select="@nick"/>
		<xsl:with-param name="bold" select="/activity/@loggedUser=@userid"/>
		<xsl:with-param name="buddy" select="0"/>
		<xsl:with-param name="newbie" select="@dayiscr&lt;15 and ( floor( /activity/@loggedStatus div 4) mod 4 or floor( /activity/@loggedStatus div 16) mod 16 or floor( /activity/@loggedStatus div 32) mod 32 )"/>
	</xsl:call-template>
</nobr>
</td>
<td>
  <u>
    <xsl:value-of select="@subject"/>
  </u>
  <br/>
  <xsl:value-of select="@body"/>
</td>


<td>
	<xsl:call-template name="ggmmaahhmm">
		<xsl:with-param name="time" select="@datetime"/>
		<xsl:with-param name="cr" select="0"/>
	</xsl:call-template>
</td>
<td>
	<xsl:call-template name="ggmmaahhmm">
		<xsl:with-param name="time" select="@readtime"/>
		<xsl:with-param name="cr" select="0"/>
	</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>

</xsl:stylesheet>